package com.yiku.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:ludada
 * @Date:2024/08/23 10:52
 */
@Data
@ApiModel("料品单位转化率请求类")
public class ItemConvertRatioRequestDTO implements Serializable {
    /**
     * {
     *     "OtherID": "",
     *     "ID": 0,
     *     "ItemMaster": {
     *       "Code": "",
     *       "ID": 0
     *     },
     *     "Ratio": 0,
     *     "SrcRowID": 0,
     *     "UOM": {
     *       "Code": "",
     *       "ID": 0
     *     }
     *   }
     */
    @ApiModelProperty("第三方id")
    private String OtherID = "1";


    @ApiModelProperty("料品编码")
    private Code ItemMaster;

    @ApiModelProperty("单位编码")
    private Code UOM;

    @ApiModelProperty("换算率")
    private double Ratio;



}
